#ifndef CAMERA_H
#define CAMERA_H
#include "pVect.h"
#include "Image.h"

class Camera
{
    private:
        float coordPremierPixelX;  //coordonnées du premier pixel en haut à gauche
        float coordPremierPixelY; //= focale
        float coordPremierPixelZ;
        float taillePixelX;
        float taillePixelY;
        pVect vA;
        pVect vC;

    public:
        pVect position;
        pVect direction;
        float focale;
        Image* image;

        Camera();
        Camera(pVect position, pVect direction, float focale, Image* image);
        virtual ~Camera();

        pVect creerRayon(int i, int j);
        pVect* creerRayonAntiAliasing(int i, int j, int ordreAA);

};

#endif // CAMERA_H
